/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO.Iter;

import TableModel.Giaovien;
import TableModel.Hocphan;
import java.util.List;


/**
 *
 * @author vt
 */
public interface GiaoVienDAO {
    public List<Giaovien> findAllGiaoVien();
    public  Giaovien findGiaoVien(String id);
    public  Giaovien findAdmin(String userName, String paawrod);  
    public void update(Giaovien id);
    public void add(Giaovien id);
    public void delete(Giaovien id);

    public Giaovien findGiaoVien(String id, String pass);
    /**
     * Tra ve danh danh sach hoc phan thuoc ve mot giao vien
     * danh sach hoc phan nay se duoc dung de liet ke thanh bang
     * su dung trong bang edit giao vien
     * 
     * @param id idgiaovien
     * @return 
     */
    public List<Hocphan> listHocPhan(String id);
}
